//
// Created by 吴锐 on 2022/3/2.
//

#include "iostream"

using namespace std;

void test01(){
    pair<string, int> p("张三",18);
    cout << "姓名: " << p.first << " 年龄: " << p.second << endl;

    pair<string, int> p2 = make_pair("李四", 17);
    cout << "姓名: " << p2.first << " 年龄: " << p2.second << endl;
}

int main(){
    test01();
    return 0;
}